home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / grgbco.z / grgbco
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggRRRRGGGGBBBBccccoooo((((3333GGGG))))                                                          ggggRRRRGGGGBBBBccccoooo((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggRRRRGGGGBBBBccccoooo - gets the current RGB color values
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggRRRRGGGGBBBBccccoooo((((rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee))))
  13.      iiiinnnntttteeeeggggeeeerrrr****2222 rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _r_e_d     expects the variable into which you want the system to copy the
  17.              current red value.
  18.  
  19.      _g_r_e_e_n   expects the variable into which you want the system to copy the
  20.              current green value.
  21.  
  22.      _b_l_u_e    expects the variable into which you want the system to copy the
  23.              current blue value.
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      ggggRRRRGGGGBBBBccccoooo gets the current RGB color values and copies them into the
  27.      parameters.  The system must be in RGB mode when you call ggggRRRRGGGGBBBBccccoooo.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      RGBcol, RGBmod, getmco
  31.  
  32. NNNNOOOOTTTTEEEE
  33.      This routine is available only in immediate mode.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.